﻿namespace Cos.Core.Model.Template
{
    public class DataType : DomainModelBase
    {
        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>
        /// The <see cref="DataType"/> id.
        /// </value>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>
        /// The <see cref="DataType"/> name.
        /// </value>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this instance has media.
        /// </summary>
        /// <value>
        ///  <c>true</c> if this instance has media; otherwise, <c>false</c>.
        /// </value>
        public bool HasMedia { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this instance is form field.
        /// </summary>
        /// <value>
        /// <c>true</c> if this instance is form field; otherwise, <c>false</c>.
        /// </value>
        public bool IsFormField { get; set; }
    }
}
